entrybuffer: remove text in ::deleted-text default handler
authorChristian Hergert <chergert@redhat.com>
Fri, 1 Nov 2019 18:15:35 +0000 (11:15 -0700)
committerChristian Hergert <chergert@redhat.com>
Tue, 5 Nov 2019 18:27:29 +0000 (10:27 -0800)
commit7e77afe94c14365d538c958d23c1e3e074530415
treeeac3c9ee0813da9605add40969932ab736a1dab8
parent75879962790cb50f584acbcb9cc02e32de6508be
entrybuffer: remove text in ::deleted-text default handler

This changes the semantics of ::deleted-text to perform the removal of
text in the default handler. This means, that if you want the old behavior
where your signal handler is called after the text has been deleted, you
should connect with G_CONNECT_AFTER in your signal handler (or use
g_signal_connect_after).

Without this change, there was never a way to get the deleted-text before
the operation had completed and this is necessary to provide undo support
to the text widgets.
gtk/gtkentrybuffer.c